package com.gitee.linmt.error.enmus;

import com.gitee.linmt.base.ServiceDictionaryEnum;

/**
 * 出错的数据字典枚举 "0201"：重复 <br> "01010101"：code过长 <br> "020"：没有层级格式 <br> "0"：小于一层的长度
 *
 * @author <a href="mailto:lin-mt@outlook.com">lin-mt</a>
 */
public enum ErrorEnum implements ServiceDictionaryEnum {
    /**
     * 错误的数据字典枚举
     */
    ERROR("0", "", "");
    
    private final String code;
    
    private final String value;
    
    private final String description;
    
    ErrorEnum(String code, String value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }
    
    @Override
    public String getCode() {
        return code;
    }
    
    @Override
    public String getValue() {
        return value;
    }
    
    @Override
    public String getDescription() {
        return description;
    }
}
